package com.irdstudio.rsp.rule.dao;

import java.util.List;
import java.util.Map;

import com.irdstudio.rsp.drools.beans.RuleParamBean;
import com.irdstudio.rsp.rule.dao.domain.SRuleCollInfo;
import com.irdstudio.rsp.rule.service.vo.SRuleCollInfoVO;
import com.irdstudio.rsp.rule.service.vo.SRuleCollParamVO;

/**
 * <p>DAO interface:规则集信息				<p>
 * @author AutoCoder
 * @date 2019-10-30
 */
public interface SRuleCollInfoDao {
	
	public int insertSRuleCollInfo(SRuleCollInfo sRuleCollInfo);
	
	public int deleteByPk(SRuleCollInfo sRuleCollInfo);
	
	public int updateByPk(SRuleCollInfo sRuleCollInfo);
	
	public SRuleCollInfo queryByPk(SRuleCollInfo sRuleCollInfo);
	
	public List<SRuleCollInfo> queryAllOwnerByPage(SRuleCollInfoVO sRuleCollInfo);
	
	public List<SRuleCollInfo> queryAllCurrOrgByPage(SRuleCollInfoVO sRuleCollInfo);
	
	public List<SRuleCollInfo> queryAllCurrDownOrgByPage(SRuleCollInfoVO sRuleCollInfo);

	public SRuleCollInfo queryByRuleCollId(String ruleCollId);

	public List<RuleParamBean> querySRuleCollParamByRuleSetId(String ruleCollId);

	public List<RuleParamBean> querySRuleCollParamByDtlId(SRuleCollParamVO sRuleCollParamVO);

}
